package com.An.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther AnYang
 * @date 2022/3/15 23:07
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("teacher_info")
public class Teacher {
	//手动写明主键
	@TableId(value = "tid", type = IdType.AUTO)
	public Integer tid;
	public String tname;
	public String gender;
	public String subject;
	public String teacher_class;
	public Integer teacher_grade;
	public Integer status;

}